﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace WowTourGuideTranslator
{
    /// <summary>
    /// pair that represents a translated text
    /// </summary>
    [Serializable]
    //[XmlRoot]
    public class TranslatedPair
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="TranslatedPair"/> class.
        /// </summary>
        public TranslatedPair()
        {
            this.Language = string.Empty;
            this.Original = string.Empty;
            this.Translated = string.Empty;
        }

        /// <summary>
        /// Gets or sets the original language text.
        /// </summary>
        /// <value>The original.</value>
        [XmlAttribute]
        public string Original { get; set; }

        /// <summary>
        /// Gets or sets the translated text.
        /// </summary>
        /// <value>The translated.</value>
        [XmlAttribute]
        public string Translated { get; set; }

        /// <summary>
        /// Gets or sets the target language.
        /// </summary>
        /// <value>The language.</value>
        [XmlAttribute]
        public string Language { get; set; }
    }
}
